package com.oa.service;

import java.util.List;
import java.util.Map;

import com.oa.bean.Leaves;
import com.oa.bean.User;
import com.oa.bean.UserAndSection;

public interface ApplyService {
	//根据id获取名字
	public User queryByIdName(int id);
	
	//登陆
	public UserAndSection login(Map<String,Object> map);
	
	//审批人下拉框
	public List<UserAndSection> sectionList(int id);
	
	//新增申请请假
	public int addLeaves(Leaves lea);
}
